<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
<title>导航菜单</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script language="JavaScript" src="${pageContext.request.contextPath}/script/jquery.js"></script>
<script language="JavaScript" src="${pageContext.request.contextPath}/script/menu.js"></script>
<link type="text/css" rel="stylesheet" href="style/blue/menu.css" />
</head>
<body style="margin: 0">
<div id="Menu">
    <ul id="MenuUl">
	    <c:if test="${menuPoList!=null&&menuPoList.size()>0 }">
	    	<c:forEach items="${menuPoList }" var="menu1">
	    		<c:if test="${menu1.menuParent==0 or menu1.menuParent==null  }">
	    			<li class="level1">
			            <div onClick="menuClick(this)" class="level1Style"><img src="style/images/MenuIcon/FUNC20001.gif" class="Icon" />${menu1.menuName }</div>
			            <c:forEach items="${menuPoList }" var="menu2" >
			            	<c:if test="${menu2.menuParent==menu1.menuId  }">
			            		<ul style="display: none;" class="MenuLevel2">
					                <li class="level2">
					                    <div class="level2Style"><img src="style/images/MenuIcon/menu_arrow_single.gif" /><a target="right" href="${pageContext.request.contextPath}/${menu2.menuUrl }"> ${menu2.menuName }</a></div>
					                </li>
					            </ul>
			            	</c:if>
			            </c:forEach>
			        </li>
	    		</c:if>
	    	</c:forEach>
	    </c:if>
    </ul>
</div>
</body>
</html>

